<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: zhou
  Date: 2018/1/26
  Time: 14:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="oscache" uri="http://www.opensymphony.com/oscache" %>
<html>
<head>
    <title>$Title$</title>
</head>
<body>
现在时间：<%=new Date()%><br>
<oscache:cache scope="session" time="4">
缓存时间：<%=new Date()%>
</oscache:cache>
</body>
</html>
